package com.pz.cloud.framework.base.config;

import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.data.jpa.repository.config.EnableJpaAuditing;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
import org.springframework.transaction.annotation.EnableTransactionManagement;


@Configuration
@EnableJpaAuditing
//@EnableAsync
@EnableTransactionManagement(proxyTargetClass = true)
@EnableJpaRepositories(basePackages = {"com.pz.cloud.framework.**.dao","org.jeecg.**.dao"})//注解用于Srping JPA的代码配置
@EntityScan({"com.pz.cloud.**.entity","org.jeecg.**.entity"})//JPA实体类扫描
public class AppContext {

}
